﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System
{
    [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    public class ChineseDescriptionAttribute : Attribute
    {
        private readonly string _text;
      
        /// <summary>
        /// 获取或设置列的排序权重。
        /// </summary>
        public int Order { get; set; }
        public string Text
        {
            get
            {
                return _text;
            }
        }

        public ChineseDescriptionAttribute(string text)
        {
            this._text = text;
        }
    }
}
